package com.changgou.seckill.feign;

import com.changgou.seckill.pojo.SeckillGoods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import com.changgou.entity.Result;

import java.util.List;

/**
 * @description:
 * @author: 大佬味的小男孩
 * @date: 2020-08-07 18:48
 **/
@FeignClient(name = "seckill")
public interface SeckillFeign {

    @RequestMapping("/seckillgoods/list")
    public Result<List<SeckillGoods>> list(@RequestParam("time") String time);
}
